﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.recapcha.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <script src="https://www.google.com/recaptcha/api.js" async defer></script>

    <title></title>
    <style>
        .card{
            padding:2em;
            margin:auto;
            box-shadow:0 0 10px black;
            width:400px;
        }
    </style>
</head>
<body>
    <form  action="WebForm2.aspx" method="POST" id="form1" runat="server">
        <div class =" card">
            <h2>用户登录</h2>
            用户名：<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
            密&nbsp;码：<asp:TextBox ID="TextBox2" runat="server" OnTextChanged="TextBox2_TextChanged"></asp:TextBox>
                <div class="g-recaptcha" data-sitekey="6LcM3-EUAAAAAPmojD-38urSTNYjumWKzlBOCBca"></div>
        <br />
            <input type="submit" value="登录"><asp:Button ID="Button1" runat="server" Text="取消" />
        </div>
    </form>
</body>
</html>
